package com.molichuxing.gateway.bff.financial.services;

import com.molichuxing.framework.dto.Paged;
import com.molichuxing.gateway.bff.financial.entity.request.create.InvoiceCreateVo;
import com.molichuxing.gateway.bff.financial.entity.response.InvoiceVo;
import com.molichuxing.services.infrastructure.dto.request.modify.InvoiceDto;

import java.util.List;
import java.util.Map;

/**
 * 发票相关bff
 *
 * @author zhaopenghui
 * @date 2019年9月25日
 */
public interface InvoiceBffService {

    /**
     * 发票
     *
     * @param map
     * @return
     * @throws Exception
     */
    public List<InvoiceVo> getInvoicePage(Map<String, Object> map) throws Exception;

    /**
     * 发票添加
     *
     * @param invoiceCreateVo
     * @return
     * @throws Exception
     */
    public Boolean createInvoiceApply(InvoiceCreateVo invoiceCreateVo, Integer userId) throws Exception;

}
